Skip to content

Commit 64f906c

Browse files
committed
#261 - Added Locale APIs
1 parent 95ae70a commit 64f906c

File tree

27 files changed

+1011
-89
lines changed

27 files changed

+1011
-89
lines changed

docs/openapi/openapi-iam.yaml

+45-1
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@
430430
- Schemas
431431
parameters:
432432
- $ref: '#/components/parameters/siteIdPathParam'
433+
- $ref: '#/components/parameters/localeQueryParam'
433434
responses:
434435
"200":
435436
description: 200 OK
@@ -496,6 +497,7 @@
496497
parameters:
497498
- $ref: '#/components/parameters/siteIdPathParam'
498499
- $ref: '#/components/parameters/keyParam'
500+
- $ref: '#/components/parameters/localeQueryParam'
499501
responses:
500502
"200":
501503
description: 200 OK
@@ -591,6 +593,7 @@
591593
parameters:
592594
- $ref: '#/components/parameters/siteIdPathParam'
593595
- $ref: '#/components/parameters/classificationIdParam'
596+
- $ref: '#/components/parameters/localeQueryParam'
594597
responses:
595598
"200":
596599
description: 200 OK
@@ -686,6 +689,7 @@
686689
- $ref: '#/components/parameters/siteIdPathParam'
687690
- $ref: '#/components/parameters/classificationIdParam'
688691
- $ref: '#/components/parameters/keyParam'
692+
- $ref: '#/components/parameters/localeQueryParam'
689693
responses:
690694
"200":
691695
description: 200 OK
@@ -6339,10 +6343,17 @@
63396343
localeParam:
63406344
name: locale
63416345
in: path
6342-
description: Site Locale (follows ISO 3166)
6346+
description: Site Locale (ISO 639 / ISO 3166)
63436347
required: true
63446348
schema:
63456349
type: string
6350+
localeQueryParam:
6351+
name: locale
6352+
in: query
6353+
description: Site Locale (ISO 639 / ISO 3166)
6354+
required: false
6355+
schema:
6356+
type: string
63466357
itemKeyParam:
63476358
name: itemKey
63486359
in: path
@@ -9462,6 +9473,10 @@
94629473
description: Attribute's allowed values
94639474
items:
94649475
type: string
9476+
localizedAllowedValues:
9477+
type: object
9478+
additionalProperties:
9479+
type: string
94659480
GetAttributeResponse:
94669481
type: object
94679482
properties:
@@ -10178,6 +10193,10 @@
1017810193
$ref: '#/components/schemas/AddResourceItem'
1017910194
AddLocaleResourceInterfaceItem:
1018010195
type: object
10196+
required:
10197+
- itemType
10198+
- interfaceKey
10199+
- localizedValue
1018110200
properties:
1018210201
itemType:
1018310202
$ref: '#/components/schemas/LocaleResourceType'
@@ -10189,6 +10208,11 @@
1018910208
description: Interface Key
1019010209
AddLocaleResourceSchemaItem:
1019110210
type: object
10211+
required:
10212+
- itemType
10213+
- attributeKey
10214+
- allowedValue
10215+
- localizedValue
1019210216
properties:
1019310217
itemType:
1019410218
$ref: '#/components/schemas/LocaleResourceType'
@@ -10198,8 +10222,17 @@
1019810222
allowedValue:
1019910223
type: string
1020010224
description: Resource value
10225+
localizedValue:
10226+
type: string
10227+
description: Localized Value
1020110228
AddLocaleResourceClassificationItem:
1020210229
type: object
10230+
required:
10231+
- itemType
10232+
- attributeKey
10233+
- allowedValue
10234+
- localizedValue
10235+
- classificationId
1020310236
properties:
1020410237
itemType:
1020510238
$ref: '#/components/schemas/LocaleResourceType'
@@ -10212,6 +10245,9 @@
1021210245
allowedValue:
1021310246
type: string
1021410247
description: Resource value
10248+
localizedValue:
10249+
type: string
10250+
description: Localized Value
1021510251
AddLocaleResourceItemResponse:
1021610252
type: object
1021710253
properties:
@@ -11274,6 +11310,10 @@
1127411310
description: Only valid string values
1127511311
items:
1127611312
type: string
11313+
localizedAllowedValues:
11314+
type: object
11315+
additionalProperties:
11316+
type: string
1127711317
AttributeSchemaOptional:
1127811318
type: object
1127911319
properties:
@@ -11284,6 +11324,10 @@
1128411324
description: Only valid string values
1128511325
items:
1128611326
type: string
11327+
localizedAllowedValues:
11328+
type: object
11329+
additionalProperties:
11330+
type: string
1128711331
DocusignEnvironment:
1128811332
type: string
1128911333
description: Docusign Environment

docs/openapi/openapi-jwt.yaml

+45-1
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@
430430
- Schemas
431431
parameters:
432432
- $ref: '#/components/parameters/siteIdPathParam'
433+
- $ref: '#/components/parameters/localeQueryParam'
433434
responses:
434435
"200":
435436
description: 200 OK
@@ -496,6 +497,7 @@
496497
parameters:
497498
- $ref: '#/components/parameters/siteIdPathParam'
498499
- $ref: '#/components/parameters/keyParam'
500+
- $ref: '#/components/parameters/localeQueryParam'
499501
responses:
500502
"200":
501503
description: 200 OK
@@ -591,6 +593,7 @@
591593
parameters:
592594
- $ref: '#/components/parameters/siteIdPathParam'
593595
- $ref: '#/components/parameters/classificationIdParam'
596+
- $ref: '#/components/parameters/localeQueryParam'
594597
responses:
595598
"200":
596599
description: 200 OK
@@ -686,6 +689,7 @@
686689
- $ref: '#/components/parameters/siteIdPathParam'
687690
- $ref: '#/components/parameters/classificationIdParam'
688691
- $ref: '#/components/parameters/keyParam'
692+
- $ref: '#/components/parameters/localeQueryParam'
689693
responses:
690694
"200":
691695
description: 200 OK
@@ -6339,10 +6343,17 @@
63396343
localeParam:
63406344
name: locale
63416345
in: path
6342-
description: Site Locale (follows ISO 3166)
6346+
description: Site Locale (ISO 639 / ISO 3166)
63436347
required: true
63446348
schema:
63456349
type: string
6350+
localeQueryParam:
6351+
name: locale
6352+
in: query
6353+
description: Site Locale (ISO 639 / ISO 3166)
6354+
required: false
6355+
schema:
6356+
type: string
63466357
itemKeyParam:
63476358
name: itemKey
63486359
in: path
@@ -9462,6 +9473,10 @@
94629473
description: Attribute's allowed values
94639474
items:
94649475
type: string
9476+
localizedAllowedValues:
9477+
type: object
9478+
additionalProperties:
9479+
type: string
94659480
GetAttributeResponse:
94669481
type: object
94679482
properties:
@@ -10178,6 +10193,10 @@
1017810193
$ref: '#/components/schemas/AddResourceItem'
1017910194
AddLocaleResourceInterfaceItem:
1018010195
type: object
10196+
required:
10197+
- itemType
10198+
- interfaceKey
10199+
- localizedValue
1018110200
properties:
1018210201
itemType:
1018310202
$ref: '#/components/schemas/LocaleResourceType'
@@ -10189,6 +10208,11 @@
1018910208
description: Interface Key
1019010209
AddLocaleResourceSchemaItem:
1019110210
type: object
10211+
required:
10212+
- itemType
10213+
- attributeKey
10214+
- allowedValue
10215+
- localizedValue
1019210216
properties:
1019310217
itemType:
1019410218
$ref: '#/components/schemas/LocaleResourceType'
@@ -10198,8 +10222,17 @@
1019810222
allowedValue:
1019910223
type: string
1020010224
description: Resource value
10225+
localizedValue:
10226+
type: string
10227+
description: Localized Value
1020110228
AddLocaleResourceClassificationItem:
1020210229
type: object
10230+
required:
10231+
- itemType
10232+
- attributeKey
10233+
- allowedValue
10234+
- localizedValue
10235+
- classificationId
1020310236
properties:
1020410237
itemType:
1020510238
$ref: '#/components/schemas/LocaleResourceType'
@@ -10212,6 +10245,9 @@
1021210245
allowedValue:
1021310246
type: string
1021410247
description: Resource value
10248+
localizedValue:
10249+
type: string
10250+
description: Localized Value
1021510251
AddLocaleResourceItemResponse:
1021610252
type: object
1021710253
properties:
@@ -11274,6 +11310,10 @@
1127411310
description: Only valid string values
1127511311
items:
1127611312
type: string
11313+
localizedAllowedValues:
11314+
type: object
11315+
additionalProperties:
11316+
type: string
1127711317
AttributeSchemaOptional:
1127811318
type: object
1127911319
properties:
@@ -11284,6 +11324,10 @@
1128411324
description: Only valid string values
1128511325
items:
1128611326
type: string
11327+
localizedAllowedValues:
11328+
type: object
11329+
additionalProperties:
11330+
type: string
1128711331
DocusignEnvironment:
1128811332
type: string
1128911333
description: Docusign Environment

0 commit comments

Comments
 (0)