@osdk/typescript-sdk-docs 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -385,30 +385,30 @@ var snippets = {
385
385
  "computedVariables": ["functionInputValuesV2"]
386
386
  }],
387
387
  "stringStartsWithTemplate": [{
388
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $startsWith: "foo" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $startsWith: "foo" }\n {{/structSubPropertyApiName}}\n })'
388
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { $startsWith: "foo" } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { $startsWith: "foo" } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $startsWith: "foo" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $startsWith: "foo" }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n })'
389
389
  }],
390
390
  "containsAllTermsInOrderTemplate": [{
391
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $containsAllTermsInOrder: "foo bar" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $containsAllTermsInOrder: "foo bar" }\n {{/structSubPropertyApiName}}\n })'
391
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { $containsAllTermsInOrder: "foo bar" } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { $containsAllTermsInOrder: "foo bar" } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $containsAllTermsInOrder: "foo bar" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $containsAllTermsInOrder: "foo bar" }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n })'
392
392
  }],
393
393
  "containsAnyTermTemplate": [{
394
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $containsAnyTerm: "foo bar" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $containsAnyTerm: "foo bar" }\n {{/structSubPropertyApiName}}\n })'
394
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { $containsAnyTerm: "foo bar" } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { $containsAnyTerm: "foo bar" } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $containsAnyTerm: "foo bar" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $containsAnyTerm: "foo bar" }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n })'
395
395
  }],
396
396
  "containsAllTermsTemplate": [{
397
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $containsAllTerms: "foo bar" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $containsAllTerms: "foo bar" }\n {{/structSubPropertyApiName}}\n })'
397
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { $containsAllTerms: "foo bar" } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { $containsAllTerms: "foo bar" } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $containsAllTerms: "foo bar" }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $containsAllTerms: "foo bar" }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n })'
398
398
  }],
399
399
  "equalityTemplate": [{
400
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $eq: {{{propertyValueV2}}} }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $eq: {{{propertyValueV2}}} }\n {{/structSubPropertyApiName}}\n });',
400
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { $eq: {{{propertyValueV2}}} } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { $eq: {{{propertyValueV2}}} } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $eq: {{{propertyValueV2}}} }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $eq: {{{propertyValueV2}}} }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n });',
401
401
  "computedVariables": ["propertyValueV2"]
402
402
  }],
403
403
  "inFilterTemplate": [{
404
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $in: [{{{propertyValueV2}}}] }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $in: [{{{propertyValueV2}}}] }\n {{/structSubPropertyApiName}}\n });',
404
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { $in: [{{{propertyValueV2}}}] } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { $in: [{{{propertyValueV2}}}] } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $in: [{{{propertyValueV2}}}] }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $in: [{{{propertyValueV2}}}] }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n });',
405
405
  "computedVariables": ["propertyValueV2"]
406
406
  }],
407
407
  "nullTemplate": [{
408
408
  "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { $isNull: true }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $isNull: true }\n {{/structSubPropertyApiName}}\n });'
409
409
  }],
410
410
  "rangeTemplate": [{
411
- "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { ${{operation}}: {{{propertyValueV2}}} }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { ${{operation}}: {{{propertyValueV2}}} }\n {{/structSubPropertyApiName}}\n });',
411
+ "template": 'import { {{objectType}} } from "{{{packageName}}}";\n// Edit this import if your client location differs\nimport { client } from "./client";\n\nconst {{objectType}}ObjectSet = client({{objectType}})\n .where({\n {{#arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { $contains: { {{structSubPropertyApiName}}: { ${{operation}}: {{{propertyValueV2}}} } } }\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { $contains: { ${{operation}}: {{{propertyValueV2}}} } }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n {{^arrayContains}}\n {{#structSubPropertyApiName}}\n {{property}}: { {{structSubPropertyApiName}}: { ${{operation}}: {{{propertyValueV2}}} }}\n {{/structSubPropertyApiName}}\n {{^structSubPropertyApiName}}\n {{property}}: { ${{operation}}: {{{propertyValueV2}}} }\n {{/structSubPropertyApiName}}\n {{/arrayContains}}\n });',
412
412
  "computedVariables": ["propertyValueV2"]
413
413
  }],
414
414
  "withinDistanceTemplate": [{